package mypaint;

import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Point;
import android.graphics.Paint.Style;


public class DrawBS {
	
	public int downState;
	public int moveState;
	public Point downPoint = new Point();
	public Point movePoint = new Point();
	public Point eventPoint = new Point();
	public Paint paint;//��������
	public static int color = Color.BLACK;
	
	public DrawBS() {

		paint = new Paint();
		paint.setStyle(Style.STROKE);
		paint.setStrokeWidth(5);//
		paint.setColor(color);//
		paint.setAntiAlias(true);//
		
	}
	
	public void onTouchDown(Point point) {
		
	}
	 
	public void onTouchMove(Point point) {
		
	}
	
	public void onTouchUp(Point point) {
		
	}
	
	
	public void onDraw(Canvas canvas, int color) {
		// TODO Auto-generated method stub
	};

	/**
	 * ������ɫ
	 * @param color
	 */
	public void setColor(int color){
		DrawBS.color=color;
	}
}
